package DomainModel;

/**
 *
 * @author Mershack
 */
public class Section {

    private int sectionId;
    private String sectionName;
    private User professor;
    private Course course;
    private SemesterType semesterType;
    private int semesterYear;
    //private Schedule schedule;
    

    public Section(int pSectionId, String pSectionName, User pProfessor, Course pCourse) {
        this.sectionId = pSectionId;
        this.sectionName = pSectionName;
        this.professor = pProfessor;
        this.course = pCourse;
    }
/*
    public Section(int pSectionId, String pSectionName, User pProfessor, Course pCourse, Schedule schedule) {
        this.sectionId = pSectionId;
        this.sectionName = pSectionName;
        this.professor = pProfessor;
        this.course = pCourse;
        this.schedule = schedule;
    }
*/
     public Section(int pSectionId, String pSectionName, User pProfessor, Course pCourse, SemesterType pSemesterType, int pSemesterYear ) {
        this.sectionId = pSectionId;
        this.sectionName = pSectionName;
        this.professor = pProfessor;
        this.course = pCourse;
        this.semesterType = pSemesterType;
        this.semesterYear = pSemesterYear;
    }
     
    /* 
    public Schedule getSchedule() {
        return schedule;
    }

    public void setSchedule(Schedule schedule) {
        this.schedule = schedule;
    }
    */
    public int getSectionID() {
        return sectionId;
    }

    public String getSectionName() {
        return sectionName;
    }

    public User getProfessor() {
        return professor;
    }

    public Course getCourse() {
        return course;
    }

    public void setSectionId(int sectionId) {
        this.sectionId = sectionId;
    }

    public void setSectionName(String sectionName) {
        this.sectionName = sectionName;
    }

    public void setProfessor(User professor) {
        this.professor = professor;
    }

    public void setCourse(Course course) {
        this.course = course;
    }

    public SemesterType getSemesterType() {
        return semesterType;
    }

    public void setSemesterType(SemesterType semesterType) {
        this.semesterType = semesterType;
    }

    public int getSemesterYear() {
        return semesterYear;
    }

    public void setSemesterYear(int semesterYear) {
        this.semesterYear = semesterYear;
    }

}
